package operation.visitor.obj;

import operation.visitor.abs.AbsPerson;
import operation.visitor.abs.IAction;

public class Woman extends AbsPerson {

    public Woman(String name) {
        super(name + "(woman)");
    }

    @Override
    public void accept(IAction action) {
        action.giveResult(this);
    }
}